package com.power.dao;

import com.power.pojo.SovlePojo;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: 朱雄
 * Date: 2020/10/10 11:05
 * Description:
 * Version: V1.0
 */
public interface SovleQueryDao {
    /**
     * 查询消缺
     * @param newPage
     * @param newLimit
     * @return
     */
    List<Map<String, Object>> sovleQueryAll(int newPage, int newLimit) throws SQLException;

    /**
     * 消缺总条数
     * @return
     */
    int sovleCount() throws SQLException;

    List<Map<String, Object>> sovleQueryByAll(SovlePojo sovlePojo, int page, int limit) throws SQLException;

    int sovleByAllCount(SovlePojo sovlePojo) throws SQLException;
}
